<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./个人中心.css">
</head>
<body>
    <div>
        <h1></h1>
        <img src="./v2-3c402f515f6d8731b7a0db18f230b051_b.webp" alt="">
        <span></span>
        <p></p>
    </div>
    <script>
        var a = localStorage.getItem('用户名')
        // console.log(a);
        var h1 = document.querySelector('h1')
        h1.innerHTML=`昵称:${a}`
        var span = document.querySelector('span')
        var b = localStorage.getItem('账号')
        // console.log(b);
        span.innerHTML=`账号：${b}`
        var c = localStorage.getItem('密码')
        // console.log(c);
        var p = document.querySelector('p')
        p.innerHTML=`密码：${c}`
    </script>
</body>
</html>